home *** CD-ROM | disk | FTP | other *** search
- /*-------------------------------------------
- TCDLL.H
- KAZUBON 1997-1998
- ---------------------------------------------*/
-
- #include <windows.h>
- #include <windowsx.h>
- #include <winreg.h>
- #include <shellapi.h>
- #include <winnls.h>
- #include <commctrl.h>
-
- // UTL.C
- HFONT CreateMyFont(char* fontname, int fontsize,
- LONG weight, LONG italic);
- int ext_cmp(char *fname, char *ext);
- void add_title(char *path, char *title);
- void del_title(char *path);
- void parse(char *dst, char *src, int n);
- char* MyString(UINT id);
- int GetMyRegStr(char* section, char* entry, char* val, char* defval);
- LONG GetMyRegLong(char* section, char* entry, LONG defval);
- int GetRegStr(HKEY rootkey, char*subkey, char* entry,
- char* val, char* defval);
- BOOL SetMyRegStr(char* subkey, char* entry, char* val);
- BOOL SetMyRegLong(char* subkey, char* entry, DWORD val);
- void WriteDebug(LPSTR s);
-
- // FORMAT.C
- void InitFormat(void);
- void MakeFormat(char* s, SYSTEMTIME* pt, char* fmt);
- BOOL IsDispSecond(char* fmt);
-
- // STARTBTN.C
- void SetStartButton(HWND hwnd);
- void EndStartButton(void);
- void SetStartButtonBmp(void);
-
- // STARTMENU.C
- void SetStartMenu(HWND hwnd);
- void EndStartMenu(void);
- void InitStartMenuIE4(void);
- void ClearStartMenuIE4(void);
-
- // TIMER.C
- void StartTimer(UINT idTimer);
- void StopTimer(int n);
- void ClearTimer(void);
- void AppendTimerMenu(HMENU hm);
- void SetTimerMenu(HMENU hm);
- void DoTimer(int minute, int second);
-
- // BMP.C
- HBITMAP ReadBitmap(HWND hwnd, char* fname, BOOL b);
-
-